package br.edu.ufcg.dsc.sig.geointerest.gui.client;

import java.util.HashMap;
import java.util.Map;

public class LoginChecker {

	static Map<String, String> loginPasswords = new HashMap<String, String>();
	
	static {
		loginPasswords.put("paulo", "ricardo");
		loginPasswords.put("diego", "dantas");
		loginPasswords.put("miguel", "epitacio");
		loginPasswords.put("claudio", "baptista");
	}
	
	public static boolean checkLogin(String userName, String password) {
		String realPass = loginPasswords.get(userName);
		
		return realPass != null && realPass.equals(password);
	}

}
